//
//  FFLog.h
//  FFAir
//
//  Created by chewyong on 2017/4/21.
//  Copyright © 2017年 isoftstone. All rights reserved.
//

#import <Foundation/Foundation.h>


#define NSLog(fmt, ...) ([[FFAirCompNetworkLog sharedInstance] isDebug])?NSLog((@"function:%s line:%d content:" fmt), __FUNCTION__, __LINE__, ##__VA_ARGS__):@""


@interface FFAirCompNetworkLog : NSObject

@property(nonatomic,assign)BOOL isDebug;

+ (FFAirCompNetworkLog *)sharedInstance;

- (void)enableDebugLogging:(BOOL)debug;

@end
